package com.zmj.sy.mom.srv.aps.bean.vo.usermessage;

import com.zmj.sy.mom.srv.aps.bean.vo.base.BaseResVo;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;

import java.time.LocalDateTime;

@Getter
@Setter
public class UserMessageGetResVo extends BaseResVo {

    @ApiModelProperty("应用名称")
    private String appName;

    @ApiModelProperty("标题")
    private String title;

    @ApiModelProperty("摘要")
    private String summary;

    @ApiModelProperty("消息范围：global 或 personal")
    private String scope;

    @ApiModelProperty("内容，最好是filepath")
    private String content;

    @ApiModelProperty("图标")
    private String icon;

    @ApiModelProperty("消息类型")
    private String type;

    @ApiModelProperty("url")
    private String linkUrl;

    @ApiModelProperty("状态：1草稿 2已发布")
    private Integer status;

    @ApiModelProperty("接收人工号")
    private String userCode;

    @ApiModelProperty("开始时间")
    private LocalDateTime startDateTime;

    @ApiModelProperty("结束时间")
    private LocalDateTime endDateTime;
}
